package tr.com.oyunus.user;

import tr.com.oyunus.user.exception.UserNotFound;
import tr.com.oyunus.user.exception.UserNotValid;

/**
 * User: f2xy
 * Date: 02.01.2012
 */
public interface UserFactory {
    public User getUser(int id) throws UserNotFound;
    public User getUser(String name) throws UserNotFound;
    public User getUser(String name,String password) throws UserNotFound, UserNotValid;
}
